package com.wx.fresh.custom.vo.couponVo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.sql.Date;

/**
 * 优惠券VO
 *
 * @author salthe
 * @date 2022/4/21
 */

@Data
@ApiModel(value = "优惠券信息", description = "优惠券信息")
public class CustomCouponVO {

    @ApiModelProperty(value = "优惠券id")
    private Long couponId;

    @ApiModelProperty(value = "优惠券名称", example = "店庆活动")
    private String couponName;

    @ApiModelProperty(value = "所属商家", example = "鲜味水产店")
    private String businessName;

    @ApiModelProperty(value = "优惠券类型", notes = "1为通用，2为折扣，3为满减劵")
    private int type;

    @ApiModelProperty(value = "优惠券使用标准", example = "满10减10")
    private BigDecimal standard;

    @ApiModelProperty(value = "开始时间")
    private Date start;

    @ApiModelProperty(value = "结束时间")
    private Date end;
}
